<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加信息</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            margin-bottom: 200px;
        }

        form {
            background-color: #fff;
            padding: 10px;
            border-radius: 5px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
            width: 400px;
        }

        label {
            display: block;
            margin-bottom: 5px;
        }

        input,
        select,
        textarea {
            width: 100%;
            padding: 6px;
            /*内边距*/
            margin-bottom: 10px;
            /*元素之间的间距*/
            border: 1px solid #ccc;
            border-radius: 3px;
        }
        textarea {
            height: 40px;
            /*设置文本域高度*/
        }

        input[type="submit"] {
            background-color: #007BFF;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background-color: #0056b3;
        }
    </style>
</head>

<body>
<form action="GETbingfangguanli.jsp" method="get" accept-charset="UTF-8">
    <h2>添加用户</h2>
    <label for="patient_name">姓名:</label>
    <input type="text" id="patient_name" name="patient_name" required>

    <label for="age">年龄:</label>
    <input type="number" id="age" name="age">

    <label for="gender">性别:</label>
    <select id="gender" name="gender">
        <option value="男">男</option>
        <option value="女">女</option>
    </select>

    <label for="birthday">出生日期:</label>
    <input type="birthday" id="birthday" name="birthday"><br>

    <label for="diagnosis_result">诊断结果:</label>
    <textarea id="diagnosis_result" name="diagnosis_result"></textarea>

    <label for="admission_date">住院日期:</label>
    <input type="date" id="admission_date" name="admission_date">

    <label for="expected_discharge_date">预计出院日期:</label>
    <input type="date" id="expected_discharge_date" name="expected_discharge_date">

    <label for="ward_number">病房号:</label>
    <input type="text" id="ward_number" name="ward_number" required>

    <label for="bed_number">病床号:</label>
    <input type="text" id="bed_number" name="bed_number" required>

    <input type="submit" value="提交">
</form>
</body>

</html>


